#ifndef QLABELMOUSE_H
#define QLABELMOUSE_H

#include <QWidget>
#include <QLabel>
#include <QMouseEvent>
#include <QObject>
#include <QEvent>
class QlabelMouse:public QLabel
{
    Q_OBJECT
public:
    explicit QlabelMouse(QWidget *parent = nullptr);

protected:
    void mousePressEvent(QMouseEvent *ev) override; //鼠标点击

signals:
    void moved1();
    void leave1();
    void press1();
};

#endif // QLABELMOUSE_H
